package com.itc.bpm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itc.bpm.bean.BpmFormDesign;
import com.itc.common.core.domain.R;

public interface BpmFormDesignService extends IService<BpmFormDesign> {
    /**
     * 新增表单
     * @param bpmFormDesign
     * @return
     */

    R addForm(BpmFormDesign bpmFormDesign);

    /**
     * 删除表单
     * @param id
     * @return
     */
    R deleteForm(String id);

    /**
     *
     * @param formCode
     * @return
     */
    BpmFormDesign findCurrentForm(String formCode);
}
